stylecontext: Remove excess gtk_css_node_invalidate() call
authorBenjamin Otte <otte@redhat.com>
Tue, 21 Jan 2020 13:43:31 +0000 (14:43 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 21 Jan 2020 13:49:25 +0000 (14:49 +0100)
commite6a0a2f5877083e9b726e4f5edf96531ff23c061
tree0104eacd0ab8fdb444e8599d37acfe292b1c2b42
parent631ea5caac8966f579743a936d27c6969751e9e1
stylecontext: Remove excess gtk_css_node_invalidate() call

This call is not necessary, because gtk_css_node_set_parent() does the
right thing. (It probably hasn't been necessary for years, but I'm
not gonna try my luck on GTK3 at this stage.)

This code is usually called the first time
gtk_widget_get_style_context() is called on a widget and its style
context gets create. At that point however, the css nodes are in the
right place already, so no invalidation should happen.
gtk/gtkstylecontext.c